/*
 * @Author: 肖燕 2461435122@qq.com
 * @Date: 2024-07-25 13:45:21
 * @LastEditors: 肖燕 2461435122@qq.com
 * @LastEditTime: 2024-09-25 10:26:10
 * @FilePath: /mrismodulecash/src/assets/scripts/echarts/index.js
 * @Description: echarts模块
 */
import Vue from 'vue'
// 引入 ECharts 主模块
import * as echarts from 'echarts/lib/echarts'
// 引入折线图/柱状图等组件
import 'echarts/lib/chart/line'
import 'echarts/lib/chart/bar'
import 'echarts/lib/chart/pie'
import 'echarts/lib/chart/scatter' // 散点图
import 'echarts/lib/chart/effectScatter' // 涟漪图
import 'echarts/lib/chart/radar' // 雷达图
import 'echarts/lib/chart/gauge' // 仪表盘
// 引入提示框和title组件，图例
import 'echarts/lib/component/legend'
import 'echarts/lib/component/title'
import 'echarts/lib/component/graphic'
import 'echarts/lib/component/tooltip'
import 'echarts/lib/component/toolbox'
import 'echarts/lib/component/grid'
import 'echarts/lib/component/dataZoom'
import 'echarts/lib/component/visualMap'
import 'echarts/lib/component/markLine'
import 'echarts/lib/chart/funnel' // 漏斗图
import 'echarts/lib/component/polar'

Vue.prototype.$echarts = echarts
